package com.wanmait.teatrain.service;

import com.wanmait.teatrain.entity.CourseResource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.teatrain.utils.AjaxResult;

/**
 * <p>
 * 课程与资源关联表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2025-10-22
 */
public interface CourseResourceService extends IService<CourseResource> {
    //根据用户身份查找课程下的资源
    AjaxResult selectResourseByCourseId(Integer courseId,Integer adminId);
    AjaxResult selectResource(Integer courseId);
}
